package com.wangxiaonan.berry.config;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * FeignRepository 扫描器注解
 *
 * @Author: wangxiaonan
 * @Date: 2019/7/2
 **/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(FeignRepositoryScanner.class)
public @interface FeignRepositoryScan {

    /**
     * 扫描路径，为空就扫描当前对应的
     */
    String[] basePackage() default {};
}
